<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" id="viewportId" content="width=device-width,initial-scale=1.0,maximum-scale=1.0"/>
    <meta name="applicable-device" content="pc,mobile">
    <title><?php echo $global_config['title']; ?></title>
    <meta name="keywords" content="<?php echo $global_config['keywords'];?>" />
    <meta name="description" content="<?php echo $global_config['description'];?>" />
    <link type="text/css" href="__PUBLIC__/Home/css/bootstrap.min.css" rel="stylesheet"/>
    <link type="text/css" href="__PUBLIC__/Home/css/bass.css" rel="stylesheet"/>
    <link type="text/css" href="__PUBLIC__/Home/css/hdft.css" rel="stylesheet"/>
    <link type="text/css" href="__PUBLIC__/Home/css/xy.css" rel="stylesheet"/>
	<script type="text/javascript" src="__PUBLIC__/Home/js/jquery-1.9.1.min.js" charset="UTF-8"></script>
	<script type="text/javascript" src="__PUBLIC__/Home/js/bootstrap.min.js" charset="UTF-8"></script>
</head>
<body>
    <div class="xy-wrap">
        <include file="Public/header"/>
        <!--内容 start-->
        <div class="xy-content">
            <div class="connotice-bg"></div>
            <div class="con-main minw clearfix">
                <include file="Public/sideBarActivity"/>
                <div class="con-txt">
                    <form name="myform" action="<?php echo U('Activity/apply'); ?>" method="post">
                    <!--报名内容-->
                    <div class="apply-txt">
                        <div class="cttxt-raw">
                            <span class="intit">姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：</span>
                            <span class="intxt">
                                <input type="text" name="ActivityUser[name]" class="inframe">
                            </span>
                        </div>
                        <div class="cttxt-raw">
                            <span class="intit">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：</span>
                            <span class="intxt">
                                <label><input type="radio" name="ActivityUser[sex]" value="1" checked="checked">男</label>
                                <label><input type="radio" name="ActivityUser[sex]" value="2">女</label>
                            </span>
                        </div>
                        <div class="cttxt-raw">
                            <span class="intit">联系电话：</span>
                            <span class="intxt">
                                <input type="text" name="ActivityUser[phone]" class="inframe">
                            </span>
                        </div>
                        <div class="cttxt-raw">
                            <span class="intit">报名活动：</span>
                            <span class="intxt">
                                <span class="select-wrap">
                                    <select name="ActivityUser[activity_id]" class="inselect">
                                        <?php foreach ($activity_list as $item) { ?>
                                        <option value="<?php echo $item['id']; ?>" <?php if ($item['id'] == $activity_id) { ?>selected="selected"<?php } ?>><?php echo $item['title']; ?></option>
                                        <?php } ?>
                                    </select>
                                </span>
                            </span>
                        </div>
                        <div class="xy-handle">
                            <input type="submit" class="xybtn btn-submit" value="报名" />
                        </div>
                    </div>
                    </form>
                </div>
            </div>
        </div>
        <!--内容 end-->
        <include file="Public/footer"/>
    </div>
</body>
</html>